cmake_minimum_required(VERSION 2.6)
project(project1)

find_package(OpenCV REQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS})

link_libraries(${OpenCV_INCLUDE_LIBS})

add_executable(project1 main.cpp)

target_link_libraries(project1 ${OpenCV_LIBS})

install(TARGETS project1 RUNTIME DESTINATION bin)
